package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("我的邀请记录实体")
@Data
public class InviteRecordVO implements Serializable {

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("受邀时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty("奖励松果数")
    @NumberAutoConvert
    private Integer pinecone = 0;
}
